package com.wish.building.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 商圈
 * </p>
 *
 * @author 刘郑欣
 * @since 2022-03-27
 */
@TableName("tb_business_circle")
@ApiModel(value = "BusinessCircle对象", description = "商圈")
public class BusinessCircle implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商业圈ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("商业圈名称")
    private String name;

    @ApiModelProperty("行政区编码")
    private String code;

    private String remark;

    private LocalDateTime updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "BusinessCircle{" +
            "id=" + id +
            ", name=" + name +
            ", code=" + code +
            ", remark=" + remark +
            ", updateTime=" + updateTime +
        "}";
    }
}
